package com.email.base;

import java.util.Map;

import org.apache.struts2.interceptor.ApplicationAware;
import org.apache.struts2.interceptor.SessionAware;

import com.opensymphony.xwork2.ActionSupport;
/**
 * 本系统中action的基类<p/>
 * @author victor
 *
 */
public class EmailAction extends ActionSupport implements SessionAware, ApplicationAware{
	private static final long serialVersionUID = 1L;
	
	private Map<String, Object> session;
	private Map<String, Object> application;
	
	public Map<String, Object> getSession() {
		return session;
	}

	public Map<String, Object> getApplication() {
		return application;
	}

	@Override
	public void setSession(Map<String, Object> value) {
		session = value;
	}

	@Override
	public void setApplication(Map<String, Object> value) {
		application = value;
	}
}
